package com.codefish.framework.spring.beans.factory.support;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * 定义Bean的属性名和值
 *
 * @author <a href='https://gitee.com/hzf2281'>codefish</a>
 * @version 1.0.0
 * @since 2022/09/29 下午 02:50
 */
@Getter
@Setter
@AllArgsConstructor
public class PropertyValue {
    private String name;
    /**
     *
     * value的类型有两种
     * <ol>
     *    <li>{@link String }类型：表示依赖某个值</li>
     *    <li>{@link BeanReference}类型，表示依赖某个bean实例</li>
     * </ol>
     */
    private Object value;

}
